<?php
/**
 * EDIT FORM View Helper
*/
class Zend_View_Helper_EditFormSeo extends Zend_View_Helper_Abstract
{
    protected $_form;
    
    protected $_seo;
    
    
    public function editFormSeo($form)
    {
        $this->_form = $form;
        return $this;
    }
    public function editSeo()
    {
    	$this->_seo=
    '<fieldset class="form-group" >
		<legend>SEO</legend>			
			<a class="expand"><span class="icon-button mini"></span>Minimize</a>
				
			<div>'.
    		'<div class="form-item">
				<a id="multi_expand_aliases" class="multi_language_expand closed">&nbsp;</a>
				<div id="aliases" class="field-wrapper">
					<div id="zone_alias_vi" class="zone default">
						'. $this->_form->aliasVi.'			
					</div>
					<div id="zone_alias_en" class="zone" style="display:none;">
						'. $this->_form->aliasEn.'			
					</div>
					<div id="zone_alias_ja" class="zone" style="display:none;">
						'. $this->_form->aliasJa.'			
					</div>			
					<div id="zone_alias_zh" class="zone" style="display:none;">
						'. $this->_form->aliasZh.'			
					</div>			
					<div id="zone_alias_fr" class="zone" style="display:none;">
						'. $this->_form->aliasFr.'			
					</div>			
				</div>
				<div class="clear"></div>
			</div>
			
			<div class="form-item">
				<a id="multi_expand_metatages" class="multi_language_expand closed">&nbsp;</a>
				<div id="metatages" class="field-wrapper">
					<div id="zone_metatag_vi" class="zone default">
						'. $this->_form->metatagVi.'			
					</div>
					<div id="zone_metatag_en" class="zone" style="display:none;">
						'. $this->_form->metatagEn.'			
					</div>
					<div id="zone_metatag_ja" class="zone" style="display:none;">
						'. $this->_form->metatagJa.'			
					</div>			
					<div id="zone_metatag_zh" class="zone" style="display:none;">
						'. $this->_form->metatagZh.'			
					</div>			
					<div id="zone_metatag_fr" class="zone" style="display:none;">
						'. $this->_form->metatagFr.'			
					</div>			
				</div>
				<div class="clear"></div>
			</div>
			
			<div class="form-item">
				<a id="multi_expand_keywordes" class="multi_language_expand closed">&nbsp;</a>
				<div id="keywordes" class="field-wrapper">
					<div id="zone_keyword_vi" class="zone default">
						'. $this->_form->keywordVi.'			
					</div>
					<div id="zone_keyword_en" class="zone" style="display:none;">
						'. $this->_form->keywordEn.'			
					</div>
					<div id="zone_keyword_ja" class="zone" style="display:none;">
						'. $this->_form->keywordJa.'			
					</div>			
					<div id="zone_keyword_zh" class="zone" style="display:none;">
						'. $this->_form->keywordZh.'			
					</div>			
					<div id="zone_keyword_fr" class="zone" style="display:none;">
						'. $this->_form->keywordFr.'			
					</div>			
				</div>
				<div class="clear"></div>
			</div>'.
    	'</div>
					
		</fieldset>';
    	return $this;
    }
    
    public function toString()
    {
    	$xhtml=$this->_seo;
    	return $xhtml;
    }

}
?>